package com.gdcvi.scan;

/**
 * RemotePlayer：远程玩家
 */
public class RemotePlayer extends Player{
    public RemotePlayer(HandConnection connection){
        setConnection(connection);
    }
    private HandConnection Connection;

    public HandConnection getConnection() {
        return Connection;
    }

    public void setConnection(HandConnection connection) {
        Connection = connection;
    }

    @Override
    public Hand chuQuan() {
        return getConnection().income();
    }

}
